package sctu.edu.java.year2016.team03.liyouhong.day20160606;

/**
 * Created by Administrator on 2016/6/6 0006.
 */
public class Test extends Thread{
    private int count=10;
    public void run(){
        while(true){
            System.out.println(count);
            if(--count==0){
                return;
            }
        }
    }

    public static void main(String[] args) {
        new Test().start();
    }
}
